<!DOCTYPE html> 
<html lang="zh-CN">
<head> 
	<meta http-equiv="X-UA-Compatible" content="IE=Edge">
	<meta charset="utf-8">
	<title></title>
	<link rel="stylesheet" type="text/css" href="${request.contextPath}/css/global.css?v=${timeStamp!''}" />
	<link rel="stylesheet" type="text/css" href="${request.contextPath}/css/dist/datatables.css" />
	<link rel="stylesheet" type="text/css" href="${request.contextPath}/css/system/system.css?v=${timeStamp!''}" />
	<link rel="stylesheet" type="text/css" href="${request.contextPath}/css/font.css?v=${timeStamp!''}">
	<script type="text/javascript" src="${request.contextPath}/js/dist/jquery-2.1.4.min.js"></script>
	<script type="text/javascript" src="${request.contextPath}/js/dist/jquery.validate.js"></script>
	<script type="text/javascript" src="${request.contextPath}/js/dist/jquery.metadata.js"></script>
	<script type="text/javascript" src="${request.contextPath}/js/dist/jquery.dataTables.js"></script>
	<script type="text/javascript" src="${request.contextPath}/js/dist/layer/layer.js"></script>
	<script type="text/javascript" src="${request.contextPath}/js/public.js?v=${timeStamp!''}"></script>
	<script type="text/javascript" src="${request.contextPath}/js/system/service.js"></script>
	<script type="text/javascript" src="${request.contextPath}/js/system/validate.js"></script>
	<script type="text/javascript" src="${request.contextPath}/js/system/dictionary.js?v=${timeStamp!''}"></script>
	<script type="text/javascript">
		var webroot = '${request.contextPath}';
		var userIsSys = '${user}';
	</script>
</head>
<body>
	<input type="hidden" class="typeid">
	<div class="promiss_continer ca_container clearfix">
		<p><i class="ion ion-location"></i>当前位置：系统 <span>></span>字典管理</p>
		<div class="ca_conpad clearfix">
			<!-- 权限表 -->
			<div class="ca_wid30 plr15">
				<div class="promiss_btngroup">
					<!--@shiro.hasPermission name="DIC_LEFT_ADD"-->
						<button class="cabtn cabtn_default permissopen">新增</button>
					<!--/@shiro.hasPermission-->
					<!--@shiro.hasPermission name="DIC_LEFT_EDIT"-->
						<button class="cabtn cabtn_default permissedit">修改</button>
					<!--/@shiro.hasPermission-->
					<!--@shiro.hasPermission name="DIC_LEFT_DEL"-->
						<button class="cabtn cabtn_danger permissdel">删除</button>
					<!--/@shiro.hasPermission-->
				</div>
				<table id="datatables" class="dataTable display" style="white-space:nowrap;">
					<thead>
					 	<tr>
					 		<th class="trhidden"><input type="hidden" class="checkall" /></th>
					 		<th>类型名称</th>
					 		<th>类型编码</th>
					 	</tr>
				 	</thead>
				 	<tbody>
				 	</tbody>
				</table>
			</div>
			<div class="permiss_role plr15">
				<div class="promiss_btngroup userhide">
					<!--@shiro.hasPermission name="DIC_RIGHT_ADD"-->
						<button class="cabtn cabtn_default dicDetopen">新增</button>
					<!--/@shiro.hasPermission-->
					<!--@shiro.hasPermission name="DIC_RIGHT_EDIT"-->
						<button class="cabtn cabtn_default dicDetedit">修改</button>
					<!--/@shiro.hasPermission-->
					<!--@shiro.hasPermission name="DIC_RIGHT_DEL"-->
						<button class="cabtn cabtn_danger dicDetdel">删除</button>
					<!--/@shiro.hasPermission-->
				</div>
				<table id="datatables_detail" class="dataTable display" style="white-space:nowrap;">
					<thead>
					 	<tr>
					 		<th><input type="checkbox" class="checkall" /></th>
					 		<th>类型名称</th>
					 		<th>类型详情</th>
					 		<th>类型编码</th>
					 	</tr>
				 	</thead>
				 	<tbody>
				 	</tbody>
				</table>
			</div>
		</div>
	</div>
	
	<!-- 添加/修改 -->
	<div class="permissform pagehide">
		<form id="addDicDetLeft">
			<input type="hidden" class="treeidpara" name="sysMenuId">
			<div class="ca_formgroup">
				<label><i class="red">*</i>选择类型：</label>
				<div class="left">
					<select class="ca_control" name="isSys">
						<#if "${user}" == 0>
						<option value="0">系统字典</option>
						</#if>
						<option value="1">普通字典</option>
					</select>
					<span class="red"></span>
				</div>
			</div>
			
			<div class="ca_formgroup">
				<label><i class="red">*</i>类型名称：</label>
				<div class="left">
					<input type="text" name="keyName" id="keyName" class="ca_control" required>
					<span class="red"></span>
				</div>
			</div>
			<div class="ca_formgroup">
				<label>类型编码：</label>
				<div class="left">
					<input type="text" name="type" id="type" class="ca_control">
					<span class="red"></span>
				</div>
			</div>
		</form>
	</div>
	
	<!-- 添加/修改详情 -->
	<div class="dicdetform pagehide">
		<form id="addDicDetRight">
			<input type="hidden" class="treeidpara" name="sysMenuId">
			<div class="ca_formgroup">
				<label><i class="red">*</i>类型详情：</label>
				<div class="left">
					<input type="text" name="typeName" id="typeName" class="ca_control required">
					<span class="red"></span>
				</div>
			</div>
			<div class="ca_formgroup">
				<label>类型编码：</label>
				<div class="left">				
					<input type="text" name="typeKey" id="typeKey" class="ca_control">
					<span class="red"></span>
				</div>
			</div>
		</form>
	</div>
	
</body>
</html>